package com.shelpe.services.simbasync.service;

import java.util.Date;
import java.util.List;

import com.shelpe.services.simbasync.model.OrderCustomer;
import com.shelpe.services.simbasync.model.PurchaseOrder;
import com.shelpe.services.simbasync.service.simbaproxy.OrderProxy.PurchaseOrderDto;

public interface OrderCustomerService {

	public int deleteAllOrderCustomer();
	
	public List<OrderCustomer> getOrderCustomerFromRpt();
	
	public int insertOrderCustomerBatch(List<OrderCustomer> list);
	
	public List<PurchaseOrder> translateOrder(List<PurchaseOrderDto> dtoList);
	
	public Date getLastTimeFromOrder(String articleCode);
	
	public int deleteOrderByTimeRange(String articleCode, Date startTime, Date endTime);
	
	public int insertOrderBatch(List<PurchaseOrder> list);
}
